﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopEvaluation : BaseObject
    {
        //begin
        public TopEvaluation(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _EvaluationName;
        [Size(SizeAttribute.Unlimited)]
        public string EvaluationName
        {
            get
            {
                return _EvaluationName;
            }
            set
            {
                SetPropertyValue("EvaluationName", ref _EvaluationName, value);
            }
        }
        private string _EvaluationNum;
        [Size(SizeAttribute.Unlimited)]
        public string EvaluationNum
        {
            get
            {
                return _EvaluationNum;
            }
            set
            {
                SetPropertyValue("EvaluationNum", ref _EvaluationNum, value);
            }
        }
        private TopStaffEvalStatById _StaffEvalStatById;
        [Association("StaffEvalStatByIdEvaluations", typeof(TopStaffEvalStatById))]
        public TopStaffEvalStatById StaffEvalStatById
        {
            get
            {
                return _StaffEvalStatById;
            }
            set
            {
                SetPropertyValue("StaffEvalStatById", ref _StaffEvalStatById, value);
            }
        }
        //end

    }
}
